package com.jtpay.sdk.jtpay.utils;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by Steven on 2016/11/30 0030.
 */

public class PayToastUtil {
    private static Toast mToast;

    public static void showMessage(Context context, String content) {
        if (null == mToast) {
            mToast = Toast.makeText(context, content, Toast.LENGTH_SHORT);
        } else {
            mToast.setText(content);
        }
        mToast.show();

    }
}
